package com.shanjupay.merchant.service;

import com.shanjupay.common.domain.BusinessException;

import java.sql.BatchUpdateException;

/**
 * TODO
 *
 * @Description
 * @Author zhangbing
 * @Date 2024/5/13 17:34
 **/
public interface FileService {

    /**
     *
     * @param bytes 文件路径
     * @param fileName 文件名称
     * @return 文件下载路径
     * @throws BusinessException
     */
    public String upload(byte[] bytes,String fileName) throws BatchUpdateException;
}
